<template>
	<view class="equity">
			<myHeader></myHeader>
			<template v-if="userInfo.token">
				333
			</template>
			<template v-else>
			<noLoginEquityVue></noLoginEquityVue>
			</template>
	</view>
</template>

<script setup>
import { ref, reactive, onMounted, watchEffect, watch, computed, defineAsyncComponent, nextTick } from 'vue';
import { onLoad, onPullDownRefresh, onReady,onShow } from '@dcloudio/uni-app';
import { getALPhoneNumber, getWXphoneNumber } from '@/utils/login.js';
import dayjs from 'dayjs';
import { storeToRefs } from 'pinia';
import { useUserStore } from '@/store/user.js';
import initApi from '@/apis/init.js';
import noLoginEquityVue from './equity/noLoginEquity.vue';
// 或者使用配置参数来初始化，详情见文档
const { userInfo } = storeToRefs(useUserStore());
const pageParams = reactive({
	list: [],
	columns: [],
	equtyId: '',
	pickerTitle: ''
});
// const query = ref()
onLoad(async(query) => {
	console.log(query, 'query000');
	// #ifdef MP-ALIPAY
 await	getALPhoneNumber();
 console.log('执行完毕');
 	// getAllList();
	// #endif
	// #ifdef MP-WEIXIN
	getWXphoneNumber();
	// #endif
});


</script>

<style lang="scss" scoped>
@import url('@/static/scss/equity.scss');

.bottom-list {
	.b-list-title {
		height: 100rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		// background-color: red;
	}
}

::v-deep {
	image {
		vertical-align: bottom; // 解决image背景图片下方有10rpx 的白边
	}
}
</style>
